<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        body {
            /* background-color: #eee; */
        }

        ul {
            width: 480px;
            height: 40px;
            list-style: none;
            position: relative;
            left: 60px;
            top: 100px;
        }

        ul li {
            width: 100px;
            height: 40px;
            margin-left: 20px;
            background-color: #ddd;
            margin-right: 10px;
            line-height: 30px;
            text-align: center;
            cursor: pointer;
            color: white;
            float: left;
        }

        li>div {
            display: none;
            width: 500px;
            height: 190px;
            color: #000;
            position: absolute;
            top: 40px;
            left: -50px;
            overflow: hidden;
            /* border: 1px solid #000; */
        }

        li>div p {
            /* font-size: 14px; */
            line-height: 16px;
            position: absolute;
            right: 220px;
            top: 14px;
            margin-top: 12px;
            margin-right: -170px;
        }

        img {
            width: 240px;
            height: 140px;
            float: left;
            margin-top: 24px;
            margin-left: 44px;
        }

        ul li:hover {
            background-color: #bbb;
        }
    </style>
</head>

<body>
    <ul>
        <li>企业文化
            <div>
                <img src="./不上学.gif" alt="">
                <p>企业文化的二级菜单</p>
            </div>
        </li>
        <li>团队介绍
            <div>
                <img src="./憨憨.png" alt="">
                <p>团队介绍的二级菜单</p>
            </div>
        </li>
        <li>大事记
            <div>
                <img src="./不上学.gif" alt="">
                <p>大事记的二级菜单</p>
            </div>
        </li>
    </ul>

    <script src="./jquery.js"></script>
    <script>
        $('li').click(function () {
            $(this).children('div').show().parent().siblings('li').children('div').hide()
        })
    </script>
</body>

</html>
z